package net.zjitc.arrays;

//定义一个三元组的类
public class Triple {
    private int row; //行
    private int col; //列
    private int value; //值

    public Triple() {
    }

    public int getRow() {
        return row;
    }

    public int getCol() {
        return col;
    }

    public int getValue() {
        return value;
    }

    public Triple(int row, int col, int value) {
        this.row = row;
        this.col = col;
        this.value = value;
    }

}
